#ifndef PICWIDGET_H
#define PICWIDGET_H

#include <QWidget>
#include <QDebug>
#include <QFileDialog>
#include <QString>
 #include <QPixmap>

QT_BEGIN_NAMESPACE
namespace Ui {
class PicWidget;
}
QT_END_NAMESPACE

class PicWidget : public QWidget
{
    Q_OBJECT

public:
    PicWidget(QWidget *parent = nullptr);
    ~PicWidget();

private slots:
    void on_pushButton_select_clicked();

    void on_radioButton_16_clicked();

    void on_pushButton_preview_clicked();

    void on_pushButton_delete_clicked();

    void on_pushButton_save_clicked();

private:
    Ui::PicWidget *ui;
    qint32 width; //图片宽度
    qint32 height;//图片高度
    QString fileName;
};
#endif // PICWIDGET_H
